<?php 
namespace app\common\model\shop;

use think\Model;

class ShopCoupon extends Model
{
	protected function setStartTimeAttr($v)
	{
		return strtotime($v);
	}
	protected function setEndTimeAttr($v)
	{
		return strtotime($v);
	}
	/* protected function getStartTimeAttr($v)
	{
		return date('Y-m-d',$v);
	}
	protected function getEndTimeAttr($v)
	{
		return date('Y-m-d',$v);
	} */
}